package toy.keli.picmap.tools;

import android.app.Activity;
import android.view.View;

import toy.keli.picmap.BmapActivity;
import toy.keli.picmap.util.utilCallback;

public class Tools {
    public BmapActivity act;
    public void bindActivity(Activity act) {
        this.act = (BmapActivity)act;
    }

    View findViewById(int id) {
        return act.findViewById(id);
    }

    boolean getPermission(String pm, utilCallback.func o) {
        return act.getPermission(pm,o);
    }

    void msg(String s) {
        act.msg(s);
    }
}
